package com.loveprogrammer.convert;

import com.loveprogrammer.dto.battle.MapChoose;
import com.loveprogrammer.dto.job.JobChoose;
import com.loveprogrammer.factory.template.JobTemplate;
import com.loveprogrammer.factory.template.MapTemplate;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MapTemplateConvert {

    MapTemplateConvert INSTANCE = Mappers.getMapper(MapTemplateConvert.class);
    List<MapChoose.MapItem> toMapItems(List<MapTemplate> templates);

}
